package com.deyuanyun.pic.risk.controller.dto;

import com.deyuanyun.pic.common.util.DateUtil;
import com.deyuanyun.pic.common.util.StringUtils;

import java.math.BigDecimal;
import java.text.ParseException;
import java.util.Date;

/**
 * 风险评价查询条件
 *
 * @author huanglw
 * @date 2016-7-26
 *
 * History: [修改人][时间][修改描述]
 */
public class RiskAssessmentQuery {

    // 管道ID
    private String pipeLineId;
    // 起始绝对距离
    private BigDecimal fromMileage;
    // 终点绝对距离
    private BigDecimal toMileage;
    // 风险等级
    private String riskGrade;
    // 主要威胁因素
    private String mainThreats;
//    // 风险是否已控制到可接受范围之内:0，可以接受，1，不可接受
//    private Short isControllable;
    // 采取的风险控制措施
    private String controlMeasures;
//    // 风险评价时间（yyyyMMdd）
//    private Date evaluateTime;

    public String getPipeLineId() {
        return pipeLineId;
    }

    public void setPipeLineId(String pipeLineId) {
        this.pipeLineId = pipeLineId;
    }

    public BigDecimal getFromMileage() {
        return fromMileage;
    }

    public void setFromMileage(BigDecimal fromMileage) {
        this.fromMileage = fromMileage;
    }

    public BigDecimal getToMileage() {
        return toMileage;
    }

    public void setToMileage(BigDecimal toMileage) {
        this.toMileage = toMileage;
    }

    public String getRiskGrade() {
        return riskGrade;
    }

    public void setRiskGrade(String riskGrade) {
        this.riskGrade = riskGrade;
    }

    public String getMainThreats() {
        return mainThreats;
    }

    public void setMainThreats(String mainThreats) {
        this.mainThreats = mainThreats;
    }

    public String getControlMeasures() {
        return controlMeasures;
    }

    public void setControlMeasures(String controlMeasures) {
        this.controlMeasures = controlMeasures;
    }
}